package com.jy.adscm.operation.newhscrb.service;

import com.baomidou.mybatisplus.plugins.Page;
import com.jy.adscm.operation.newhscrb.bean.NhcMaterialDetail;
import com.baomidou.mybatisplus.service.IService;
import com.jy.adscm.operation.newhscrb.bean.QueryNhcMaterialDetail;
import com.jy.adscm.security.utils.Token;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author zyl
 * @since 2020-06-15
 */
public interface NhcMaterialDetailService extends IService<NhcMaterialDetail> {

    NhcMaterialDetail insertnhcMaterialDetail(NhcMaterialDetail nhcMaterialDetail);

    void printCode(String code);

    boolean updateNhcMaterialDetail(Token token, NhcMaterialDetail nhcMaterialDetail);

    Page<NhcMaterialDetail> selectByPid(QueryNhcMaterialDetail queryNhcMaterialDetail);

    String getMaxCode();

    Boolean outPutMaterial(String code, Integer result, Token token);
}
